package com.rcl.mvvmdemo.taobao

import com.rcl.mvvmdemo.api.RetrofitClient

class OnSellRepository {
    suspend fun getOnSellList(page: Int) = RetrofitClient.apiServer.getOnSellList(page).apiData()

    //获取发现页的分类
    suspend fun getDiscoveryPageCategories() = RetrofitClient.apiServer.getDiscoveryPageCategories().apiData()
}